body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font: 13px/normal Arial, Helvetica, Sans-Serif;
}

.frame-body {
    position: fixed;
    top: 0rem;
    left: 0;
    right: 0;
    bottom: 4rem;
}

.frame-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4rem;
    border-top: 1px solid #929292;
    box-shadow: 0px 0px 5px #888;
}

/* tabs begin */
.tab-item {
    width: 25%;
    float: left;
    text-align: center;
    height: 4rem;
}

.tab-item > img {
    width: 2.5rem;
    padding: 0.75rem;
}

.tab-item > img.active {
    display: none;
}

.tab-item.active > img.active {
    display: initial;
}

.tab-item.active > img.normal {
    display: none;
}

#btnAttach {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    height: 5rem;
    width: 5rem;
    background-image: url('/img/btn_attack.png');
    background-size: 100% 100%;
    line-height: 5rem;
    font-size: 2rem;
    text-align: center;
    color: #FFFFFF;
    border-radius: 100%;
}

#btnAttach.cd {
    background: #0430B5;
}

#btnFriends {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    height: 4rem;
    width: 4rem;
    background-image: url('/img/btn_friends.png');
    background-size: 100% 100%;
}

#Me {
    font-size: 1.2rem;
    position: absolute;
    top: 2rem;
    left: 1rem;
    right: 1rem;
    height: 3rem;
}

#Me > .mask {
    background: #000;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    border-radius: 3rem;
    box-shadow: 3px 3px 3px #000;
}

#Me > .head {
    background-image: url('/img/user_1.png');
    background-size: 100% 100%;
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
    bottom: -0.5rem;
    width: 4rem;
    border-radius: 4rem;
}

#Me > .name {
    position: absolute;
    left: 4rem;
    top: 0;
    line-height: 3rem;
    color: white;
}

#Me > .level {
    position: absolute;
    right: 2rem;
    top: 0;
    line-height: 3rem;
    color: white;
}

#Me > .score {
    position: absolute;
    /* left: 0; */
    right: 6rem;
    text-align: center;
    color: white;
    top: 0;
    line-height: 3rem;
}

#friendsPanel {
    position: fixed;
    top: 100%;
    background: white;
    left: 0;
    right: 0;
    bottom: 0;
    /* border-top: 1px solid red; */
    box-shadow: 0px 0px 10px #888;
    font-size: 1.3rem;
    color: #3F4453;
}

#btnCloseFriends {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    height: 1.5rem;
}

#friendsPanel > .header {
    padding: 1rem;
    border-bottom: 1px solid #D4D4D4;
    padding-left: 2rem;
}

#friendsPanel > .items {
}

#friendsPanel > .items > .item {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #D4D4D4;
    position: relative;
    height: 4rem;
}

#friendsPanel > .items > .item > .icon {
    position: absolute;
    width: 4rem;
    height: 4rem;
    background-size: 100% 100%;
}

#friendsPanel > .items > .item > .icon > img {
    width: 4rem;
}

#friendsPanel > .items > .item > .icon.user_1 {
    background-image: url('/img/user_1.png');
}

#friendsPanel > .items > .item > .name {
    position: absolute;
    left: 6rem;
    top: 1.5rem;
}

#friendsPanel > .items > .item > .distance {
    position: absolute;
    top: 3.5rem;
    font-size: 1rem;
    left: 6rem;
}

#friendsPanel > .items > .item > .action {
    position: absolute;
    right: 1rem;
    top: 1.5rem;
    width: 3rem;
    height: 3rem;
}

#friendsPanel > .items > .item > .action > img {
    width: 100%;
    height: 100%;
}

.dialog {
    position: fixed;
    top: 9rem;
    bottom: 11rem;
    left: 3rem;
    right: 3rem;
    background: white;
    opacity: 0.9;
    box-shadow: 0px 0px 10px #888;
    border-radius: 0.5rem;
    display: none;
    z-index: 100;
}

.dialog > img {
    width: 100%;
    overflow: hidden;
}

#frameWallet {
    background: white;
    z-index: 1;
    display: none;
    overflow: hidden;
}